Function: struct2xmlobj
CALL:
DESCRIPTION:
struct2xmlobj is a function. obj = struct2xmlobj(S)